import Taro, { Component } from '@tarojs/taro'
import {View,Text,Image} from '@tarojs/components'
import './index.css'
import { AtInput,AtGrid, AtList, AtListItem } from 'taro-ui'
import {$navigateTo} from '../../../global'
import app from '../../../main.js'
export default class index extends Component {
  config = {
    navigationBarTitleText: '文章'
  }
  wenzhang = () =>{
    $navigateTo("../wenzhangyemian/index")
  }
  componentWillMount () { }

  componentDidMount () { }

  componentWillUnmount () { }

  componentDidShow () { }

  componentDidHide () { }
  constructor () {
    super(...arguments)
    this.state = {
      value: '',

    }
  }
  handleChange (value) {
    this.setState({
      value,
  
    })
  }
  
  render () {
    return (
    <View className='index'>
      
      <View onClick={this.wenzhang}>
<AtList>
  <AtListItem 
    title='大学生健康教育'
    note='这是一篇教育大学生如何注重自己的健康的文章。'
    arrow='right'
  />
  <AtListItem
    title='眼部保护文章'
    note='这是一篇讲述我们改如何进行日常眼部保护的文章。'
    arrow='right'
  />
</AtList>
</View>
<View>

</View>
    </View>
    )
    
  }
  

}

